package com.qiaofang.applet.service.member.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by IDEA.
 *
 * @auther Zym.
 * @company qiaofang
 * @date 2021/1/11 17:06
 */
@Data
@ApiModel("提交预约DTO")
public class AppointmentSubmitDto {

    @ApiModelProperty("会员id")
    @NotNull(message = "会员id不能为空")
    private String memberId;

    @ApiModelProperty("会员手机号")
    @NotNull(message = "会员手机号不能为空")
    private String memberPhone;

    @ApiModelProperty("预约经纪人唯一uuid")
    @NotNull(message = "预约经纪人唯一uuid不能为空")
    private String employeeUniqueUuid;

    @ApiModelProperty("预约经纪人名称")
    @NotNull(message = "预约经纪人名称不能为空")
    private String employeeName;

    @ApiModelProperty("业务类型：1 新房  2 二手房  3 租房")
    @NotNull(message = "业务类型不能为空")
    private Integer businessType;

    @ApiModelProperty("房源唯一UUID")
    @NotNull(message = "房源唯一UUID不能为空")
    private String businessUuid;

    @ApiModelProperty("房源名称")
    @NotNull(message = "房源名称不能为空")
    private String businessName;

    @ApiModelProperty("城市名称")
    @NotNull(message = "城市名称不能为空")
    private String cityName;

    @ApiModelProperty("区域名称")
    @NotNull(message = "区域名称不能为空")
    private String districtName;

    @ApiModelProperty("预约时间 yyyy-MM-dd HH:mm")
    @NotNull(message = "预约时间不能为空")
    private String appointmentTime;

    @ApiModelProperty("预约姓名")
    @NotNull(message = "预约姓名不能为空")
    private String appointmentName;

    @ApiModelProperty("随访人数")
    @NotNull(message = "随访人数不能为空")
    private Integer visitorNum;

    @ApiModelProperty("预约手机号")
    @NotNull(message = "预约手机号不能为空")
    private String appointmentPhone;
}
